package com.bigcat.gulimall.gulimallproduct.feign;

import com.bigcat.gulimall.common.entry.SkuEsModel;
import com.bigcat.gulimall.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @Ather:Yuan
 * @Date:2021/1/4
 * @Desc:
 */
@FeignClient("gulimall-search")
public interface SearchFeignService {

    @PostMapping("/search/save/product")
    R productStatusUp(@RequestBody List<SkuEsModel> esModelList);
}
